﻿@model IList<FFLTask.SRV.ViewModel.Task._AttachmentModel>
@if (Model != null && Model.Count > 0)
{
    <table>

        @for (int i = 0; i < Model.Count; i++)
        {
            string address = string.Format(@"/Resource/Image/Attachment/{0}/{1}", ViewBag.TaskId, Model[i].FileName);
            <p>
                <img src="/Resource/Image/attachment.gif" style="position:relative; top:3px;" /><a href="/Task/Download?path=@address">@Model[i].FileName</a>
                <span style="font-size:12px;">上传人： @Html.Partial("_UserLink", Model[i].Uploader) </span>
            </p>
        }
    </table>
}